package com.zhaokuner.parentstarter.utils;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * Description:util bean
 * <p>
 * Copyright: 天津联想协同科技有限公司
 * <p>
 *
 * @author 赵希坤 zhaoxikun
 * @date 2021/2/13 12:18
 */
@Configuration
public class UtilConfiguration {

    @Bean
    public ValidatorUtil validatorUtil() {
        return new ValidatorUtil();
    }

    @Bean
    public SemaphoreUtil semaphoreUtil() {
        return new SemaphoreUtil();
    }

    @Bean
    public MyAppContextUtil myAppContextUtil() {
        return new MyAppContextUtil();
    }

}
